package ua.dp.md05.dao;

import ua.dp.md05.Product;
import ua.dp.md05.dao.common.Dao;

import javax.ejb.Local;
import java.util.List;

@Local
public interface ProductDao extends Dao<Product> {

	List<Product> find(int maxresults, int firstresult);

	Long count();

    Product findByBarcode(String barcode);

}
